<!DOCTYPE html>
<html lang="en">

	<head>
		<!-- BEGIN META -->
		<?php $this->load->view('Public/headmeta.html');?>
		<!-- END META -->

		<!-- BEGIN STYLESHEET-->
		<?php $this->load->view('Public/headcss.html');?>
		<!-- END STYLESHEET-->
		<title>
			<?php echo $current['title']."-".$setting['title'];?>
		</title>

	</head>

	<body>
		<!-- BEGIN SECTION -->
		<section id="container">
			<!-- BEGIN HEADER -->
			<?php $this->load->view('Public/header.html');?>
			<!-- END HEADER -->
			<!-- BEGIN SIDEBAR -->
			<?php $this->load->view('Public/sidebar.html');?>
			<!-- END SIDEBAR -->
			<!-- BEGIN MAIN CONTENT -->
			<section id="main-content">
				<!-- BEGIN WRAPPER  -->
				<section class="wrapper">
					<!-- TOPMENU ROW  -->
					<?php $this->load->view('Public/topmenu.html');?>
					<!-- TOPMENU ROW  -->

					<!-- BEGIN ROW  -->
					<div class="row">
						<div class="col-lg-12">
							<section class="panel-bg">
								<header class="panel-heading">
									<span class="label label-primary"><?php echo $current['title'];?></span>
								</header>
								<div class="panel-body">
									<div class="form">
										<form class="cmxform form-horizontal tasi-form" id="categoryForm" method="post" action="<?php echo site_url('Pkadmin/Category/update');?>">
											<div class="form-group">
												<label for="category_name" class="control-label col-sm-2">分类名称</label>
												<div class="col-sm-3">
													<input class="form-control bg-white" id="category_name" name="category_name" type="text" value="" placeholder="分类名称">
												</div>
											</div>
											
											<div class="form-group">
												<label for="keywords" class="control-label col-sm-2">关键字</label>
												<div class="col-sm-3">
													<input class="form-control bg-white" id="keywords" name="keywords" type="text" value="" placeholder="关键字用逗号隔开">
												</div>
											</div>
											
											<div class="form-group">
												<label for="sort" class="control-label col-sm-2">排序</label>
												<div class="col-sm-2">
													<input class="form-control bg-white" id="sort" name="sort" type="number" value="" placeholder="越小越靠前">
												</div>
											</div>

											<div class="form-group">
												<label for="category_desc" class="control-label col-sm-2">分类描述</label>
												<div class="col-sm-4">
													<textarea class="form-control" id="category_desc" name="category_desc" rows="5" placeholder="请输入文章分类的简单描述！"></textarea>
												</div>
											</div>										

											<div class="form-group">
												<input type="hidden" name="id" id="id" value="0">
												<div class="col-sm-offset-2 col-sm-10">
													<button class="btn btn-primary" type="submit">保存</button>
													<button class="btn btn-default" type="reset">重置</button>
												</div>
											</div>
										</form>
									</div>
								</div>
							</section>
						</div>
					</div>
					<!-- END ROW  -->
				</section>
				<!-- END WRAPPER  -->
			</section>
			<!-- END MAIN CONTENT -->
			<!-- BEGIN FOOTER -->
			<?php $this->load->view('Public/footer.html');?>
			<!-- END FOOTER -->
		</section>
		<!-- END SECTION -->
		<!-- BEGIN JS -->
		<?php $this->load->view('Public/footjs.html');?>
		<script src="<?php echo base_url('Public/js/pkadmin/category.js');?>"></script>
		<!-- PKADMIN CATEGORY JS -->
		<!-- END JS -->
	</body>

</html>